home *** CD-ROM | disk | FTP | other *** search
/ BUG 1 / BUGCD1996_0708.ISO / pc / util / minilin / minilin.exe / USR / LIB / SETUP / INSFD.{_4 < prev    next >
Text File  |  1994-02-02  |  709b  |  25 lines

  1. #!/bin/sh
  2. rm -f /tmp/SeTDS /tmp/SeTmount
  3. cat << EOF > /tmp/tmpmsg
  4.  
  5. The base Slackware series (A) can be installed from 1.2M
  6. or 1.44M media. Most of the other disks will not fit on 
  7. 1.2M media, but can be downloaded to your hard drive and 
  8. installed from there later.
  9.  
  10. Which drive do you want to install from?
  11. EOF
  12. dialog --title "SELECT FLOPPY DRIVE" --menu "`cat /tmp/tmpmsg`" 18 67 4 \
  13. "/dev/fd0H1440" "1.44M drive a:" \
  14. "/dev/fd1H1440" "1.44M drive b:" \
  15. "/dev/fd0h1200" "1.2M drive a:" \
  16. "/dev/fd1h1200" "1.2M drive b:" 2> /tmp/whichdrv
  17. if [ $? = 1 -o $? = 255 ]; then
  18.  rm -f /tmp/whichdrv /tmp/tmpmsg
  19.  exit
  20. fi
  21. rm -f /tmp/tmpmsg
  22. mv /tmp/whichdrv /tmp/SeTsource
  23. echo "" > /tmp/SeTDS
  24. echo "" > /tmp/SeTmount
  25.